import './assets/main.css'
import 'element-plus/dist/index.css'

// 引入混淆文件结果
import '@/utils/javascript-obfuscator/output/b.js'

// 引入navigator.clipboard
import { copyPageUrl, getClipboardContents } from '@/utils/javascript-obfuscator/navigator.clipboard/index.js'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')

// console.log(import.meta.env, '--------------')
// console.log('-------测试husky lint-staged-------')
window.onload = async () => {
  await copyPageUrl()
  await getClipboardContents()
}
